<%-- 
    Document   : profil
    Created on : 6 févr. 2013, 11:37:34
    Author     : Vincent
--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="<c:url value="/inc/style.css" />" />
        <title>Modifier votre profil</title>
    </head>
    <body>
        <div id="header">
            <c:import url="/inc/header.jsp"/>
        </div>

        <div id="article">
            <form method="post" action="<c:url value="/ctrl/profil.jsp"/>">
                <input type="hidden" name="action" value="profil" />
            <fieldset>
                <legend>
                    Modification du profil
                </legend>
                <label for="email">
                    Identifiant (mail) :
                </label>
                <input type="email" name="email" id="email" value="<c:out value="${client.cliLogin}"/>" size="30" maxlength="30"/>

                <br>
                <label for="mdp">
                    Mot de passe :
                </label>
                <input type="password" name="mdp" id="mdp" size="30" maxlength="30"/>


                <br>

                <label for="mdp">
                    Confirmer mot de passe :
                </label>
                <input type="password" name="confmdp" id="confmdp" size="30" maxlength="30"/>
                <br>

                <label for="sexe">Civilité :</label>
                <select name="sexe">
                    <option <c:if test="${client.sexe == 'M.'}">selected</c:if> >M.</option>
                    <option <c:if test="${client.sexe == 'Mlle.'}">selected</c:if> >Mlle.</option>
                    <option <c:if test="${client.sexe == 'Mme.'}">selected</c:if> >Mme.</option>
                </select>
                <br>

                <label for="nom">
                    Nom :
                </label>
                <input type="text" name="nom" id="nom" size="26" maxlength="26"/>
                <br>

                <label for="prenom">
                    Prénom :
                </label>
                <input type="text" name="prenom" id="prenom" size="30" maxlength="30"/>
                <br>

                <label for="dateNaissance">
                    Date de naissance :
                </label>
                <input type="text" name="dateNaissance" id="dateNaissance" size="30" maxlength="30"/>
                <br>
                <label for="newsletter">
                    Newsletter :
                </label>
                <input type="checkbox" name="newsletter" id="newsletter"/>
                <br>
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;
                <input type="submit" value="Valider"/>
                <input type="reset" value="Annuler"/>

            </fieldset>
                <br>
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;
                &nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp;&nbsp&nbsp;&nbsp&nbsp;&nbsp&nbsp;
                <a href="<c:url value="/Ctrl?section=compte&action=retour"/>">Retour</a>
        </div>
        <div id="nav">
            <c:import url="/inc/nav.jsp"/>
        </div>
        <div id="footer">
            <c:import url="/inc/footer.jsp"/>
        </div> 

    </body>
</html>
